package com.longge;

import java.util.Arrays;

public class MaximumProduct {

    public int maximumProduct(int[] nums) {

        Arrays.sort(nums);
        int max = 0;
        return Math.max(nums[0]*nums[1]*nums[nums.length-1],nums[nums.length-1]*nums[nums.length-2]*nums[nums.length-3]);

    }

    public static void main(String[] args) {
        String a = "https://cbs-internal-test-image02.obs.cn-north-4.myhuaweicloud.com:443/picture/examine/372090_1699249691077.jpg";
        System.out.println(a.replace("/examine/", "/"));
    }

}
